<?php

class UserRoles extends AppModel {

  public $name = 'UserRoles';
  public $validate = array(
      'user_id' => array(
          'rule' => 'notEmpty',
          'message' => 'User is required'
      ),
      'role_name' => array(
          'rule' => 'notEmpty',
          'message' => 'Role name is required'
      )
  );

}

?>
